<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh">
 <head>
  <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
  <meta content="2018-10-23T06:18:10.521000000" name="created"/>
  <meta content="2023-12-12T09:31:22" name="changed" translator="gocpicnic"/>
  <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
  <meta content="zh" http-equiv="Content-Language"/>
  <title>
   <!-- Hierarchical design -->
   子电路
  </title>
  <link href="../../style.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
  <div class="maindiv">
   <h1>
    <!-- Hierarchical design -->
    子电路
   </h1>
   <p>
    <!-- As you build circuits that are more and more sophisticated, you will want to build smaller circuits that you can use multiple times as a module nested within larger circuits. In Logisim, such a smaller circuit that is used in a larger circuit is called a <strong>subcircuit</strong>. -->
    当您构建越来越复杂的电路时，您将需要构建较小的电路，您可以将其作为嵌套在较大电路中的模块多次使用。 在 Logisim-evolution 中，这种用于较大电路的较小电路称为
    <strong>
     子电路
    </strong>
    。
   </p>
   <p>
    <!-- If you're familiar with computer programming, you're familiar with the subprogram concept, whether it's called a <em>subroutine</em>, <em>function</em>, <em>method</em>, or <em>procedure</em> in your favored language. The subcircuit concept is analogous to this, and it serves the same purpose: To break a large job into bite-sized pieces, to save the effort of defining the same concept multiple times, and to facilitate debugging. -->
    如果您熟悉计算机编程，您就会熟悉子程序概念，无论它是称为
    <em>
     子例程
    </em>
    、
    <em>
     函数
    </em>
    、
    <em>
     方法
    </em>
    还是
    <em>
     程序
    </em>
    以您喜欢的语言进行。 子电路概念与此类似，其目的相同：将大工作分解为小块，节省多次定义同一概念的精力，并方便调试。
   </p>
   <blockquote>
    <!-- <a href="sub-creating.html">Creating circuits</a><br> -->
    <a href="sub-creating.html">
     创建电路
    </a>
    <br/>
    <!-- <a href="sub-using.html">Using subcircuits</a><br> -->
    <a href="sub-using.html">
     使用子电路
    </a>
    <br/>
    <!-- <a href="sub-appear.html">Selecting the appearance of a subcircuit</a><br> -->
    <a href="sub-appear.html">
     选择子电路的外观
    </a>
    <br/>
    <!-- <a href="sub-personalise.html">Customize the appearance</a><br> -->
    <a href="sub-personalise.html">
     自定义外观
    </a>
    <br/>
    <!-- <a href="sub-debug.html">Debugging subcircuits</a><br> -->
    <a href="sub-debug.html">
     调试子电路
    </a>
    <br/>
    <!-- <a href="sub-library.html">Logisim libraries</a> -->
    <a href="sub-library.html">
     Logisim-evolution 库
    </a>
    <br/>
    <a href="dynamic_components.html">
     动态组件
    </a>
   </blockquote>
   <p>
    <!-- <b>Next:</b> <a href="sub-creating.html">Creating circuits</a>. -->
    <b>
     下一节:
    </b>
    <a href="sub-creating.html">
     动态组件
    </a>
    .
   </p>
   <p align="center">
    <img alt="#########" src="../../../../img-guide/subcirc.png"/>
   </p>
  </div>
 </body>
</html>
